const redis = require('redis');
const {REDIS_CONF} = require('../conf/db');

// 创建redis客户端
const reidsCli = redis.createClient(REDIS_CONF.port,REDIS_CONF.host);
reidsCli.on('err',(err)=>{
	console.log('redis err',err);
});

module.exports = reidsCli;